<template>
  <div class="app-container">
    <!-- 搜索工作栏 -->
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
      <el-form-item label="证券简称" prop="secname">
        <el-input v-model="queryParams.secname" placeholder="请输入证券简称" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="证券代码" prop="seccode">
        <el-input v-model="queryParams.seccode" placeholder="请输入证券代码" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="机构名称" prop="orgname">
        <el-input v-model="queryParams.orgname" placeholder="请输入机构名称" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="公告日期" prop="declaredate">
        <el-date-picker v-model="queryParams.declaredate" style="width: 240px" value-format="yyyy-MM-dd HH:mm:ss" type="daterange"
                        range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" :default-time="['00:00:00', '23:59:59']" />
      </el-form-item>
      <el-form-item label="截止日期" prop="enddate">
        <el-date-picker v-model="queryParams.enddate" style="width: 240px" value-format="yyyy-MM-dd HH:mm:ss" type="daterange"
                        range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" :default-time="['00:00:00', '23:59:59']" />
      </el-form-item>
      <el-form-item label="报告年度" prop="f001d">
        <el-input v-model="queryParams.f001d" placeholder="请输入报告年度" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="合并类型编码" prop="f002v">
        <el-input v-model="queryParams.f002v" placeholder="请输入合并类型编码" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="合并类型" prop="f003v">
        <el-input v-model="queryParams.f003v" placeholder="请输入合并类型" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="报表来源编码" prop="f004v">
        <el-input v-model="queryParams.f004v" placeholder="请输入报表来源编码" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="报表来源" prop="f005v">
        <el-input v-model="queryParams.f005v" placeholder="请输入报表来源" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="货币资金	单位：元" prop="f006n">
        <el-input v-model="queryParams.f006n" placeholder="请输入货币资金	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="结算备付金	单位：元" prop="f077n">
        <el-input v-model="queryParams.f077n" placeholder="请输入结算备付金	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="拆出资金	单位：元" prop="f078n">
        <el-input v-model="queryParams.f078n" placeholder="请输入拆出资金	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="以公允价值计量且其变动计入当期损益的金融资产(20190322弃用)	单位：元" prop="f007n">
        <el-input v-model="queryParams.f007n" placeholder="请输入以公允价值计量且其变动计入当期损益的金融资产(20190322弃用)	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="衍生金融资产	单位：元" prop="f080n">
        <el-input v-model="queryParams.f080n" placeholder="请输入衍生金融资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应收票据	单位：元" prop="f008n">
        <el-input v-model="queryParams.f008n" placeholder="请输入应收票据	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应收账款	单位：元" prop="f009n">
        <el-input v-model="queryParams.f009n" placeholder="请输入应收账款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="预付款项	单位：元" prop="f010n">
        <el-input v-model="queryParams.f010n" placeholder="请输入预付款项	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应收保费	单位：元" prop="f081n">
        <el-input v-model="queryParams.f081n" placeholder="请输入应收保费	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应收分保账款	单位：元" prop="f082n">
        <el-input v-model="queryParams.f082n" placeholder="请输入应收分保账款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应收分保合同准备金	单位：元" prop="f083n">
        <el-input v-model="queryParams.f083n" placeholder="请输入应收分保合同准备金	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其中：应收利息	单位：元" prop="f013n">
        <el-input v-model="queryParams.f013n" placeholder="请输入其中：应收利息	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其中：应收股利	单位：元" prop="f014n">
        <el-input v-model="queryParams.f014n" placeholder="请输入其中：应收股利	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其他应收款	单位：元" prop="f011n">
        <el-input v-model="queryParams.f011n" placeholder="请输入其他应收款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应收关联公司款	单位：元" prop="f012n">
        <el-input v-model="queryParams.f012n" placeholder="请输入应收关联公司款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="买入返售金融资产	单位：元" prop="f084n">
        <el-input v-model="queryParams.f084n" placeholder="请输入买入返售金融资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="存货	单位：元" prop="f015n">
        <el-input v-model="queryParams.f015n" placeholder="请输入存货	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其中：消耗性生物资产	单位：元" prop="f016n">
        <el-input v-model="queryParams.f016n" placeholder="请输入其中：消耗性生物资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="划分为持有待售的资产	单位：元" prop="f085n">
        <el-input v-model="queryParams.f085n" placeholder="请输入划分为持有待售的资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="发放贷款及垫款-流动资产	单位：元" prop="f079n">
        <el-input v-model="queryParams.f079n" placeholder="请输入发放贷款及垫款-流动资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="一年内到期的非流动资产	单位：元" prop="f017n">
        <el-input v-model="queryParams.f017n" placeholder="请输入一年内到期的非流动资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="交易性金融资产	单位：元" prop="f117n">
        <el-input v-model="queryParams.f117n" placeholder="请输入交易性金融资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应收票据及应收账款	单位：元" prop="f118n">
        <el-input v-model="queryParams.f118n" placeholder="请输入应收票据及应收账款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="合同资产	单位：元" prop="f119n">
        <el-input v-model="queryParams.f119n" placeholder="请输入合同资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其他流动资产	单位：元" prop="f018n">
        <el-input v-model="queryParams.f018n" placeholder="请输入其他流动资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="流动资产合计	单位：元" prop="f019n">
        <el-input v-model="queryParams.f019n" placeholder="请输入流动资产合计	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="发放贷款及垫款-非流动资产	单位：元" prop="f086n">
        <el-input v-model="queryParams.f086n" placeholder="请输入发放贷款及垫款-非流动资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="可供出售金融资产	单位：元" prop="f020n">
        <el-input v-model="queryParams.f020n" placeholder="请输入可供出售金融资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="持有至到期投资	单位：元" prop="f021n">
        <el-input v-model="queryParams.f021n" placeholder="请输入持有至到期投资	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="长期应收款	单位：元" prop="f022n">
        <el-input v-model="queryParams.f022n" placeholder="请输入长期应收款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="长期股权投资	单位：元" prop="f023n">
        <el-input v-model="queryParams.f023n" placeholder="请输入长期股权投资	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="投资性房地产	单位：元" prop="f024n">
        <el-input v-model="queryParams.f024n" placeholder="请输入投资性房地产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="固定资产	单位：元" prop="f025n">
        <el-input v-model="queryParams.f025n" placeholder="请输入固定资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="在建工程	单位：元" prop="f026n">
        <el-input v-model="queryParams.f026n" placeholder="请输入在建工程	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="工程物资	单位：元" prop="f027n">
        <el-input v-model="queryParams.f027n" placeholder="请输入工程物资	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="固定资产清理	单位：元" prop="f028n">
        <el-input v-model="queryParams.f028n" placeholder="请输入固定资产清理	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="生产性生物资产	单位：元" prop="f029n">
        <el-input v-model="queryParams.f029n" placeholder="请输入生产性生物资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="油气资产	单位：元" prop="f030n">
        <el-input v-model="queryParams.f030n" placeholder="请输入油气资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="无形资产	单位：元" prop="f031n">
        <el-input v-model="queryParams.f031n" placeholder="请输入无形资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="开发支出	单位：元" prop="f032n">
        <el-input v-model="queryParams.f032n" placeholder="请输入开发支出	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="商誉	单位：元" prop="f033n">
        <el-input v-model="queryParams.f033n" placeholder="请输入商誉	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="长期待摊费用	单位：元" prop="f034n">
        <el-input v-model="queryParams.f034n" placeholder="请输入长期待摊费用	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="递延所得税资产	单位：元" prop="f035n">
        <el-input v-model="queryParams.f035n" placeholder="请输入递延所得税资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="债权投资	单位：元" prop="f116n">
        <el-input v-model="queryParams.f116n" placeholder="请输入债权投资	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其他债权投资	单位：元" prop="f110n">
        <el-input v-model="queryParams.f110n" placeholder="请输入其他债权投资	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其他权益工具投资	单位：元" prop="f111n">
        <el-input v-model="queryParams.f111n" placeholder="请输入其他权益工具投资	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其他非流动金融资产	单位：元" prop="f112n">
        <el-input v-model="queryParams.f112n" placeholder="请输入其他非流动金融资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其他非流动资产	单位：元" prop="f036n">
        <el-input v-model="queryParams.f036n" placeholder="请输入其他非流动资产	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="非流动资产合计	单位：元" prop="f037n">
        <el-input v-model="queryParams.f037n" placeholder="请输入非流动资产合计	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="资产总计	单位：元" prop="f038n">
        <el-input v-model="queryParams.f038n" placeholder="请输入资产总计	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="短期借款	单位：元" prop="f039n">
        <el-input v-model="queryParams.f039n" placeholder="请输入短期借款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="向中央银行借款	单位：元" prop="f087n">
        <el-input v-model="queryParams.f087n" placeholder="请输入向中央银行借款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="吸收存款及同业存放	单位：元" prop="f088n">
        <el-input v-model="queryParams.f088n" placeholder="请输入吸收存款及同业存放	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="拆入资金	单位：元" prop="f089n">
        <el-input v-model="queryParams.f089n" placeholder="请输入拆入资金	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="以公允价值计量且其变动计入当期损益的金融负债（20190322弃用）	单位：元" prop="f040n">
        <el-input v-model="queryParams.f040n" placeholder="请输入以公允价值计量且其变动计入当期损益的金融负债（20190322弃用）	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="衍生金融负债	单位：元" prop="f090n">
        <el-input v-model="queryParams.f090n" placeholder="请输入衍生金融负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应付票据	单位：元" prop="f041n">
        <el-input v-model="queryParams.f041n" placeholder="请输入应付票据	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应付账款	单位：元" prop="f042n">
        <el-input v-model="queryParams.f042n" placeholder="请输入应付账款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="预收款项	单位：元" prop="f043n">
        <el-input v-model="queryParams.f043n" placeholder="请输入预收款项	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="卖出回购金融资产款	单位：元" prop="f091n">
        <el-input v-model="queryParams.f091n" placeholder="请输入卖出回购金融资产款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应付手续费及佣金	单位：元" prop="f092n">
        <el-input v-model="queryParams.f092n" placeholder="请输入应付手续费及佣金	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应付职工薪酬	单位：元" prop="f044n">
        <el-input v-model="queryParams.f044n" placeholder="请输入应付职工薪酬	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应交税费	单位：元" prop="f045n">
        <el-input v-model="queryParams.f045n" placeholder="请输入应交税费	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其中：应付利息	单位：元" prop="f046n">
        <el-input v-model="queryParams.f046n" placeholder="请输入其中：应付利息	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其中：应付股利	单位：元" prop="f047n">
        <el-input v-model="queryParams.f047n" placeholder="请输入其中：应付股利	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其他应付款	单位：元" prop="f048n">
        <el-input v-model="queryParams.f048n" placeholder="请输入其他应付款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应付关联公司款	单位：元" prop="f049n">
        <el-input v-model="queryParams.f049n" placeholder="请输入应付关联公司款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应付分保账款	单位：元" prop="f093n">
        <el-input v-model="queryParams.f093n" placeholder="请输入应付分保账款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="保险合同准备金	单位：元" prop="f094n">
        <el-input v-model="queryParams.f094n" placeholder="请输入保险合同准备金	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="代理买卖证券款	单位：元" prop="f095n">
        <el-input v-model="queryParams.f095n" placeholder="请输入代理买卖证券款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="代理承销证券款	单位：元" prop="f096n">
        <el-input v-model="queryParams.f096n" placeholder="请输入代理承销证券款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="划分为持有待售的负债	单位：元" prop="f097n">
        <el-input v-model="queryParams.f097n" placeholder="请输入划分为持有待售的负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="一年内到期的非流动负债	单位：元" prop="f050n">
        <el-input v-model="queryParams.f050n" placeholder="请输入一年内到期的非流动负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="预计负债-流动负债	单位：元" prop="f098n">
        <el-input v-model="queryParams.f098n" placeholder="请输入预计负债-流动负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="递延收益-流动负债	单位：元" prop="f099n">
        <el-input v-model="queryParams.f099n" placeholder="请输入递延收益-流动负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="交易性金融负债	单位：元" prop="f113n">
        <el-input v-model="queryParams.f113n" placeholder="请输入交易性金融负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应付票据及应付账款	单位：元" prop="f114n">
        <el-input v-model="queryParams.f114n" placeholder="请输入应付票据及应付账款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="合同负债	单位：元" prop="f115n">
        <el-input v-model="queryParams.f115n" placeholder="请输入合同负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其他流动负债	单位：元" prop="f051n">
        <el-input v-model="queryParams.f051n" placeholder="请输入其他流动负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="流动负债合计	单位：元" prop="f052n">
        <el-input v-model="queryParams.f052n" placeholder="请输入流动负债合计	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="长期借款	单位：元" prop="f053n">
        <el-input v-model="queryParams.f053n" placeholder="请输入长期借款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应付债券	单位：元" prop="f054n">
        <el-input v-model="queryParams.f054n" placeholder="请输入应付债券	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其中：优先股-非流动负债	单位：元" prop="f100n">
        <el-input v-model="queryParams.f100n" placeholder="请输入其中：优先股-非流动负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="永续债-非流动负债	单位：元" prop="f101n">
        <el-input v-model="queryParams.f101n" placeholder="请输入永续债-非流动负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="长期应付款	单位：元" prop="f055n">
        <el-input v-model="queryParams.f055n" placeholder="请输入长期应付款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="长期应付职工薪酬	单位：元" prop="f102n">
        <el-input v-model="queryParams.f102n" placeholder="请输入长期应付职工薪酬	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="专项应付款	单位：元" prop="f056n">
        <el-input v-model="queryParams.f056n" placeholder="请输入专项应付款	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="预计负债	单位：元" prop="f057n">
        <el-input v-model="queryParams.f057n" placeholder="请输入预计负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="递延收益-非流动负债	单位：元" prop="f075n">
        <el-input v-model="queryParams.f075n" placeholder="请输入递延收益-非流动负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="递延所得税负债	单位：元" prop="f058n">
        <el-input v-model="queryParams.f058n" placeholder="请输入递延所得税负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其他非流动负债	单位：元" prop="f059n">
        <el-input v-model="queryParams.f059n" placeholder="请输入其他非流动负债	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="非流动负债合计	单位：元" prop="f060n">
        <el-input v-model="queryParams.f060n" placeholder="请输入非流动负债合计	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="负债合计	单位：元" prop="f061n">
        <el-input v-model="queryParams.f061n" placeholder="请输入负债合计	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="实收资本（或股本）	单位：元" prop="f062n">
        <el-input v-model="queryParams.f062n" placeholder="请输入实收资本（或股本）	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其他权益工具	单位：元" prop="f103n">
        <el-input v-model="queryParams.f103n" placeholder="请输入其他权益工具	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其中：优先股-所有者权益	单位：元" prop="f104n">
        <el-input v-model="queryParams.f104n" placeholder="请输入其中：优先股-所有者权益	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="永续债-所有者权益	单位：元" prop="f105n">
        <el-input v-model="queryParams.f105n" placeholder="请输入永续债-所有者权益	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="资本公积	单位：元" prop="f063n">
        <el-input v-model="queryParams.f063n" placeholder="请输入资本公积	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="减：库存股	单位：元" prop="f066n">
        <el-input v-model="queryParams.f066n" placeholder="请输入减：库存股	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="其他综合收益	单位：元" prop="f074n">
        <el-input v-model="queryParams.f074n" placeholder="请输入其他综合收益	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="专项储备	单位：元" prop="f072n">
        <el-input v-model="queryParams.f072n" placeholder="请输入专项储备	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="盈余公积	单位：元" prop="f064n">
        <el-input v-model="queryParams.f064n" placeholder="请输入盈余公积	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="一般风险准备	单位：元" prop="f076n">
        <el-input v-model="queryParams.f076n" placeholder="请输入一般风险准备	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="未分配利润	单位：元" prop="f065n">
        <el-input v-model="queryParams.f065n" placeholder="请输入未分配利润	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="外币报表折算价差	单位：元" prop="f068n">
        <el-input v-model="queryParams.f068n" placeholder="请输入外币报表折算价差	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="归属于母公司所有者权益	单位：元" prop="f073n">
        <el-input v-model="queryParams.f073n" placeholder="请输入归属于母公司所有者权益	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="少数股东权益	单位：元" prop="f067n">
        <el-input v-model="queryParams.f067n" placeholder="请输入少数股东权益	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="非正常经营项目收益调整	单位：元" prop="f069n">
        <el-input v-model="queryParams.f069n" placeholder="请输入非正常经营项目收益调整	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="所有者权益（或股东权益）合计	单位：元" prop="f070n">
        <el-input v-model="queryParams.f070n" placeholder="请输入所有者权益（或股东权益）合计	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="负债和所有者（或股东权益）合计	单位：元" prop="f071n">
        <el-input v-model="queryParams.f071n" placeholder="请输入负债和所有者（或股东权益）合计	单位：元" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="备注" prop="memo">
        <el-input v-model="queryParams.memo" placeholder="请输入备注" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="应收款项融资	2019年8月新增" prop="f120n">
        <el-input v-model="queryParams.f120n" placeholder="请输入应收款项融资	2019年8月新增" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="使用权资产	2019年8月新增" prop="f121n">
        <el-input v-model="queryParams.f121n" placeholder="请输入使用权资产	2019年8月新增" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="租赁负债	2019年8月新增" prop="f122n">
        <el-input v-model="queryParams.f122n" placeholder="请输入租赁负债	2019年8月新增" clearable @keyup.enter.native="handleQuery"/>
      </el-form-item>
      <el-form-item label="创建时间" prop="createTime">
        <el-date-picker v-model="queryParams.createTime" style="width: 240px" value-format="yyyy-MM-dd HH:mm:ss" type="daterange"
                        range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" :default-time="['00:00:00', '23:59:59']" />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>

    <!-- 操作工具栏 -->
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="openForm(undefined)"
                   v-hasPermi="['invest:zcfz-base:create']">新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" :loading="exportLoading"
                   v-hasPermi="['invest:zcfz-base:export']">导出</el-button>
      </el-col>
              <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>

            <el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
            <el-table-column label="ID" align="center" prop="id" />
      <el-table-column label="证券简称" align="center" prop="secname" />
      <el-table-column label="证券代码" align="center" prop="seccode" />
      <el-table-column label="机构名称" align="center" prop="orgname" />
      <el-table-column label="公告日期" align="center" prop="declaredate" />
      <el-table-column label="截止日期" align="center" prop="enddate" />
      <el-table-column label="报告年度" align="center" prop="f001d" />
      <el-table-column label="合并类型编码" align="center" prop="f002v" />
      <el-table-column label="合并类型" align="center" prop="f003v" />
      <el-table-column label="报表来源编码" align="center" prop="f004v" />
      <el-table-column label="报表来源" align="center" prop="f005v" />
      <el-table-column label="货币资金	单位：元" align="center" prop="f006n" />
      <el-table-column label="结算备付金	单位：元" align="center" prop="f077n" />
      <el-table-column label="拆出资金	单位：元" align="center" prop="f078n" />
      <el-table-column label="以公允价值计量且其变动计入当期损益的金融资产(20190322弃用)	单位：元" align="center" prop="f007n" />
      <el-table-column label="衍生金融资产	单位：元" align="center" prop="f080n" />
      <el-table-column label="应收票据	单位：元" align="center" prop="f008n" />
      <el-table-column label="应收账款	单位：元" align="center" prop="f009n" />
      <el-table-column label="预付款项	单位：元" align="center" prop="f010n" />
      <el-table-column label="应收保费	单位：元" align="center" prop="f081n" />
      <el-table-column label="应收分保账款	单位：元" align="center" prop="f082n" />
      <el-table-column label="应收分保合同准备金	单位：元" align="center" prop="f083n" />
      <el-table-column label="其中：应收利息	单位：元" align="center" prop="f013n" />
      <el-table-column label="其中：应收股利	单位：元" align="center" prop="f014n" />
      <el-table-column label="其他应收款	单位：元" align="center" prop="f011n" />
      <el-table-column label="应收关联公司款	单位：元" align="center" prop="f012n" />
      <el-table-column label="买入返售金融资产	单位：元" align="center" prop="f084n" />
      <el-table-column label="存货	单位：元" align="center" prop="f015n" />
      <el-table-column label="其中：消耗性生物资产	单位：元" align="center" prop="f016n" />
      <el-table-column label="划分为持有待售的资产	单位：元" align="center" prop="f085n" />
      <el-table-column label="发放贷款及垫款-流动资产	单位：元" align="center" prop="f079n" />
      <el-table-column label="一年内到期的非流动资产	单位：元" align="center" prop="f017n" />
      <el-table-column label="交易性金融资产	单位：元" align="center" prop="f117n" />
      <el-table-column label="应收票据及应收账款	单位：元" align="center" prop="f118n" />
      <el-table-column label="合同资产	单位：元" align="center" prop="f119n" />
      <el-table-column label="其他流动资产	单位：元" align="center" prop="f018n" />
      <el-table-column label="流动资产合计	单位：元" align="center" prop="f019n" />
      <el-table-column label="发放贷款及垫款-非流动资产	单位：元" align="center" prop="f086n" />
      <el-table-column label="可供出售金融资产	单位：元" align="center" prop="f020n" />
      <el-table-column label="持有至到期投资	单位：元" align="center" prop="f021n" />
      <el-table-column label="长期应收款	单位：元" align="center" prop="f022n" />
      <el-table-column label="长期股权投资	单位：元" align="center" prop="f023n" />
      <el-table-column label="投资性房地产	单位：元" align="center" prop="f024n" />
      <el-table-column label="固定资产	单位：元" align="center" prop="f025n" />
      <el-table-column label="在建工程	单位：元" align="center" prop="f026n" />
      <el-table-column label="工程物资	单位：元" align="center" prop="f027n" />
      <el-table-column label="固定资产清理	单位：元" align="center" prop="f028n" />
      <el-table-column label="生产性生物资产	单位：元" align="center" prop="f029n" />
      <el-table-column label="油气资产	单位：元" align="center" prop="f030n" />
      <el-table-column label="无形资产	单位：元" align="center" prop="f031n" />
      <el-table-column label="开发支出	单位：元" align="center" prop="f032n" />
      <el-table-column label="商誉	单位：元" align="center" prop="f033n" />
      <el-table-column label="长期待摊费用	单位：元" align="center" prop="f034n" />
      <el-table-column label="递延所得税资产	单位：元" align="center" prop="f035n" />
      <el-table-column label="债权投资	单位：元" align="center" prop="f116n" />
      <el-table-column label="其他债权投资	单位：元" align="center" prop="f110n" />
      <el-table-column label="其他权益工具投资	单位：元" align="center" prop="f111n" />
      <el-table-column label="其他非流动金融资产	单位：元" align="center" prop="f112n" />
      <el-table-column label="其他非流动资产	单位：元" align="center" prop="f036n" />
      <el-table-column label="非流动资产合计	单位：元" align="center" prop="f037n" />
      <el-table-column label="资产总计	单位：元" align="center" prop="f038n" />
      <el-table-column label="短期借款	单位：元" align="center" prop="f039n" />
      <el-table-column label="向中央银行借款	单位：元" align="center" prop="f087n" />
      <el-table-column label="吸收存款及同业存放	单位：元" align="center" prop="f088n" />
      <el-table-column label="拆入资金	单位：元" align="center" prop="f089n" />
      <el-table-column label="以公允价值计量且其变动计入当期损益的金融负债（20190322弃用）	单位：元" align="center" prop="f040n" />
      <el-table-column label="衍生金融负债	单位：元" align="center" prop="f090n" />
      <el-table-column label="应付票据	单位：元" align="center" prop="f041n" />
      <el-table-column label="应付账款	单位：元" align="center" prop="f042n" />
      <el-table-column label="预收款项	单位：元" align="center" prop="f043n" />
      <el-table-column label="卖出回购金融资产款	单位：元" align="center" prop="f091n" />
      <el-table-column label="应付手续费及佣金	单位：元" align="center" prop="f092n" />
      <el-table-column label="应付职工薪酬	单位：元" align="center" prop="f044n" />
      <el-table-column label="应交税费	单位：元" align="center" prop="f045n" />
      <el-table-column label="其中：应付利息	单位：元" align="center" prop="f046n" />
      <el-table-column label="其中：应付股利	单位：元" align="center" prop="f047n" />
      <el-table-column label="其他应付款	单位：元" align="center" prop="f048n" />
      <el-table-column label="应付关联公司款	单位：元" align="center" prop="f049n" />
      <el-table-column label="应付分保账款	单位：元" align="center" prop="f093n" />
      <el-table-column label="保险合同准备金	单位：元" align="center" prop="f094n" />
      <el-table-column label="代理买卖证券款	单位：元" align="center" prop="f095n" />
      <el-table-column label="代理承销证券款	单位：元" align="center" prop="f096n" />
      <el-table-column label="划分为持有待售的负债	单位：元" align="center" prop="f097n" />
      <el-table-column label="一年内到期的非流动负债	单位：元" align="center" prop="f050n" />
      <el-table-column label="预计负债-流动负债	单位：元" align="center" prop="f098n" />
      <el-table-column label="递延收益-流动负债	单位：元" align="center" prop="f099n" />
      <el-table-column label="交易性金融负债	单位：元" align="center" prop="f113n" />
      <el-table-column label="应付票据及应付账款	单位：元" align="center" prop="f114n" />
      <el-table-column label="合同负债	单位：元" align="center" prop="f115n" />
      <el-table-column label="其他流动负债	单位：元" align="center" prop="f051n" />
      <el-table-column label="流动负债合计	单位：元" align="center" prop="f052n" />
      <el-table-column label="长期借款	单位：元" align="center" prop="f053n" />
      <el-table-column label="应付债券	单位：元" align="center" prop="f054n" />
      <el-table-column label="其中：优先股-非流动负债	单位：元" align="center" prop="f100n" />
      <el-table-column label="永续债-非流动负债	单位：元" align="center" prop="f101n" />
      <el-table-column label="长期应付款	单位：元" align="center" prop="f055n" />
      <el-table-column label="长期应付职工薪酬	单位：元" align="center" prop="f102n" />
      <el-table-column label="专项应付款	单位：元" align="center" prop="f056n" />
      <el-table-column label="预计负债	单位：元" align="center" prop="f057n" />
      <el-table-column label="递延收益-非流动负债	单位：元" align="center" prop="f075n" />
      <el-table-column label="递延所得税负债	单位：元" align="center" prop="f058n" />
      <el-table-column label="其他非流动负债	单位：元" align="center" prop="f059n" />
      <el-table-column label="非流动负债合计	单位：元" align="center" prop="f060n" />
      <el-table-column label="负债合计	单位：元" align="center" prop="f061n" />
      <el-table-column label="实收资本（或股本）	单位：元" align="center" prop="f062n" />
      <el-table-column label="其他权益工具	单位：元" align="center" prop="f103n" />
      <el-table-column label="其中：优先股-所有者权益	单位：元" align="center" prop="f104n" />
      <el-table-column label="永续债-所有者权益	单位：元" align="center" prop="f105n" />
      <el-table-column label="资本公积	单位：元" align="center" prop="f063n" />
      <el-table-column label="减：库存股	单位：元" align="center" prop="f066n" />
      <el-table-column label="其他综合收益	单位：元" align="center" prop="f074n" />
      <el-table-column label="专项储备	单位：元" align="center" prop="f072n" />
      <el-table-column label="盈余公积	单位：元" align="center" prop="f064n" />
      <el-table-column label="一般风险准备	单位：元" align="center" prop="f076n" />
      <el-table-column label="未分配利润	单位：元" align="center" prop="f065n" />
      <el-table-column label="外币报表折算价差	单位：元" align="center" prop="f068n" />
      <el-table-column label="归属于母公司所有者权益	单位：元" align="center" prop="f073n" />
      <el-table-column label="少数股东权益	单位：元" align="center" prop="f067n" />
      <el-table-column label="非正常经营项目收益调整	单位：元" align="center" prop="f069n" />
      <el-table-column label="所有者权益（或股东权益）合计	单位：元" align="center" prop="f070n" />
      <el-table-column label="负债和所有者（或股东权益）合计	单位：元" align="center" prop="f071n" />
      <el-table-column label="备注" align="center" prop="memo" />
      <el-table-column label="应收款项融资	2019年8月新增" align="center" prop="f120n" />
      <el-table-column label="使用权资产	2019年8月新增" align="center" prop="f121n" />
      <el-table-column label="租赁负债	2019年8月新增" align="center" prop="f122n" />
      <el-table-column label="创建时间" align="center" prop="createTime" width="180">
        <template v-slot="scope">
          <span>{{ parseTime(scope.row.createTime) }}</span>
        </template>
      </el-table-column>
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template v-slot="scope">
          <el-button size="mini" type="text" icon="el-icon-edit" @click="openForm(scope.row.id)"
                     v-hasPermi="['invest:zcfz-base:update']">修改</el-button>
          <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
                     v-hasPermi="['invest:zcfz-base:delete']">删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    <!-- 分页组件 -->
    <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNo" :limit.sync="queryParams.pageSize"
                @pagination="getList"/>
    <!-- 对话框(添加 / 修改) -->
    <ZcfzBaseForm ref="formRef" @success="getList" />
    </div>
</template>

<script>
import * as ZcfzBaseApi from '@/api/invest/zcfzbase';
import ZcfzBaseForm from './ZcfzBaseForm.vue';
export default {
  name: "ZcfzBase",
  components: {
          ZcfzBaseForm,
  },
  data() {
    return {
      // 遮罩层
      loading: true,
      // 导出遮罩层
      exportLoading: false,
      // 显示搜索条件
      showSearch: true,
              // 总条数
        total: 0,
      // 个股报告期资产负债列表
      list: [],
      // 是否展开，默认全部展开
      isExpandAll: true,
      // 重新渲染表格状态
      refreshTable: true,
      // 选中行
      currentRow: {},
      // 查询参数
      queryParams: {
                    pageNo: 1,
            pageSize: 10,
        secname: null,
        seccode: null,
        orgname: null,
        declaredate: [],
        enddate: [],
        f001d: null,
        f002v: null,
        f003v: null,
        f004v: null,
        f005v: null,
        f006n: null,
        f077n: null,
        f078n: null,
        f007n: null,
        f080n: null,
        f008n: null,
        f009n: null,
        f010n: null,
        f081n: null,
        f082n: null,
        f083n: null,
        f013n: null,
        f014n: null,
        f011n: null,
        f012n: null,
        f084n: null,
        f015n: null,
        f016n: null,
        f085n: null,
        f079n: null,
        f017n: null,
        f117n: null,
        f118n: null,
        f119n: null,
        f018n: null,
        f019n: null,
        f086n: null,
        f020n: null,
        f021n: null,
        f022n: null,
        f023n: null,
        f024n: null,
        f025n: null,
        f026n: null,
        f027n: null,
        f028n: null,
        f029n: null,
        f030n: null,
        f031n: null,
        f032n: null,
        f033n: null,
        f034n: null,
        f035n: null,
        f116n: null,
        f110n: null,
        f111n: null,
        f112n: null,
        f036n: null,
        f037n: null,
        f038n: null,
        f039n: null,
        f087n: null,
        f088n: null,
        f089n: null,
        f040n: null,
        f090n: null,
        f041n: null,
        f042n: null,
        f043n: null,
        f091n: null,
        f092n: null,
        f044n: null,
        f045n: null,
        f046n: null,
        f047n: null,
        f048n: null,
        f049n: null,
        f093n: null,
        f094n: null,
        f095n: null,
        f096n: null,
        f097n: null,
        f050n: null,
        f098n: null,
        f099n: null,
        f113n: null,
        f114n: null,
        f115n: null,
        f051n: null,
        f052n: null,
        f053n: null,
        f054n: null,
        f100n: null,
        f101n: null,
        f055n: null,
        f102n: null,
        f056n: null,
        f057n: null,
        f075n: null,
        f058n: null,
        f059n: null,
        f060n: null,
        f061n: null,
        f062n: null,
        f103n: null,
        f104n: null,
        f105n: null,
        f063n: null,
        f066n: null,
        f074n: null,
        f072n: null,
        f064n: null,
        f076n: null,
        f065n: null,
        f068n: null,
        f073n: null,
        f067n: null,
        f069n: null,
        f070n: null,
        f071n: null,
        memo: null,
        f120n: null,
        f121n: null,
        f122n: null,
        createTime: [],
      },
            };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询列表 */
    async getList() {
      try {
      this.loading = true;
              const res = await ZcfzBaseApi.getZcfzBasePage(this.queryParams);
        this.list = res.data.list;
        this.total = res.data.total;
      } finally {
        this.loading = false;
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNo = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    /** 添加/修改操作 */
    openForm(id) {
      this.$refs["formRef"].open(id);
    },
    /** 删除按钮操作 */
    async handleDelete(row) {
      const id = row.id;
      await this.$modal.confirm('是否确认删除个股报告期资产负债编号为"' + id + '"的数据项?')
      try {
       await ZcfzBaseApi.deleteZcfzBase(id);
       await this.getList();
       this.$modal.msgSuccess("删除成功");
      } catch {}
    },
    /** 导出按钮操作 */
    async handleExport() {
      await this.$modal.confirm('是否确认导出所有个股报告期资产负债数据项?');
      try {
        this.exportLoading = true;
        const res = await ZcfzBaseApi.exportZcfzBaseExcel(this.queryParams);
        this.$download.excel(res, '个股报告期资产负债.xls');
      } catch {
      } finally {
        this.exportLoading = false;
      }
    },
              }
};
</script>